package com.retirement.policy.domain.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author lijy
 * @since 2024-02-20
 */
@Data
public class PropertyPolicyAddDto {

    @ApiModelProperty("政策类型")
    private String typesName;

    @ApiModelProperty("政策标题")
    private String name;

    @ApiModelProperty("发文机关")
    private String department;

    @ApiModelProperty("发文字号")
    private String documentNumber;

    @ApiModelProperty("政策文件")
    private String images;

    @ApiModelProperty("发文日期")
    private String writeDate;

    @ApiModelProperty("政策有效期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime expiryDate;

    @ApiModelProperty("咨询部门")
    private String departmentName;

    @ApiModelProperty("政策级别")
    private String level;

    @ApiModelProperty("政策类别")
    private String policyCategories;

    @ApiModelProperty("产业类别")
    private String industrySectors;

    @ApiModelProperty("政策来源")
    private String source;

    @ApiModelProperty("源网站名称")
    private String originalName;

    @ApiModelProperty("源网站地址")
    private String originalUrl;

    @ApiModelProperty("联系人")
    private String writeUserName;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("正文")
    private String content;

    @ApiModelProperty("发布状态 0已保存 1已发布 2已撤销")
    private Integer publishingStatus;

    @ApiModelProperty("申报时段开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime declarationStart;

    @ApiModelProperty("申报时段结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime declarationEnd;

    @ApiModelProperty("申报条件")
    private String declarationConditions;

    @ApiModelProperty("扶持标准")
    private String supportingStandards;

    @ApiModelProperty("申报材料")
    private String applicationMaterials;

    @ApiModelProperty("公示名单文件")
    private String publicityImages;

    @ApiModelProperty("通知文件")
    private String notificationImages;
}
